package com.community.service;

import com.community.pojo.Announcement;

import java.util.List;

public interface AnnouncementService {

     Announcement findAnnouncementById(Integer announcementId);
    List<Announcement> findAllAnnouncement();
    int addAnnouncement(Announcement announcement);
    int deleteAnnouncementById(Integer announcementId);
    int updateAnnouncement(Announcement announcement);
}
